package com.ctsi.ssdc.repository;

import com.ctsi.ssdc.domain.LitemallGrouponRules;
import com.ctsi.ssdc.domain.LitemallGrouponRulesExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;

/**
 * @author ctsi-biyi-generator
*/
@Mapper
public interface LitemallGrouponRulesRepository extends BaseRepository<LitemallGrouponRules, Integer, LitemallGrouponRulesExample> {
    @Override
    long countByExample(LitemallGrouponRulesExample example);

    @Override
    int deleteByExample(LitemallGrouponRulesExample example);

    @Override
    int deleteByPrimaryKey(Integer id);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insert(LitemallGrouponRules record);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insertSelective(LitemallGrouponRules record);

    @Override
    List<LitemallGrouponRules> selectByExample(LitemallGrouponRulesExample example);

    @Override
    LitemallGrouponRules selectByPrimaryKey(Integer id);

    @Override
    int updateByExampleSelective(@Param("record") LitemallGrouponRules record, @Param("example") LitemallGrouponRulesExample example);

    @Override
    int updateByExample(@Param("record") LitemallGrouponRules record, @Param("example") LitemallGrouponRulesExample example);

    @Override
    int updateByPrimaryKeySelective(LitemallGrouponRules record);

    @Override
    int updateByPrimaryKey(LitemallGrouponRules record);
}